import 'package:flutter/material.dart';
import 'package:flutter_enjoy_plus/router/index.dart';
import 'package:flutter_enjoy_plus/stores/counter.dart';
import 'package:provider/provider.dart';

void main() {
  runApp(ChangeNotifierProvider(
    create: (context) => Counter(),
    child: MaterialApp(
      // home: MinePage(),
      routes: RouteManager.routes,
      onGenerateRoute: (settings) => RouteManager.generateRoute(settings),
      initialRoute: '/',
    ),
  ));
}
